package scauCmiScaffolding.compiled;

import org.eclipse.jet.JET2Context;
import org.eclipse.jet.JET2Template;
import org.eclipse.jet.JET2Writer;
import org.eclipse.jet.taglib.RuntimeTagElement;
import org.eclipse.jet.taglib.TagInfo;

public class _jet_resourcesProcess implements JET2Template {
    private static final String _jetns_ws = "org.eclipse.jet.workspaceTags"; //$NON-NLS-1$

    public _jet_resourcesProcess() {
        super();
    }

    private static final String NL = System.getProperty("line.separator"); //$NON-NLS-1$
    
    private static final TagInfo _td_ws_file_4_1 = new TagInfo("ws:file", //$NON-NLS-1$
            4, 1,
            new String[] {
                "template", //$NON-NLS-1$
                "encoding", //$NON-NLS-1$
                "path", //$NON-NLS-1$
            },
            new String[] {
                "templates/content/{$framework}/configure/resource/hibemateProperties.jet", //$NON-NLS-1$
                "utf-8", //$NON-NLS-1$
                "{$projectName}/resources/hibernate.properties", //$NON-NLS-1$
            } );
    private static final TagInfo _td_ws_file_7_1 = new TagInfo("ws:file", //$NON-NLS-1$
            7, 1,
            new String[] {
                "template", //$NON-NLS-1$
                "encoding", //$NON-NLS-1$
                "path", //$NON-NLS-1$
            },
            new String[] {
                "templates/content/{$framework}/configure/resource/projectProperties.jet", //$NON-NLS-1$
                "utf-8", //$NON-NLS-1$
                "{$projectName}/resources/{$projectName}-project.properties", //$NON-NLS-1$
            } );
    private static final TagInfo _td_ws_file_11_1 = new TagInfo("ws:file", //$NON-NLS-1$
            11, 1,
            new String[] {
                "template", //$NON-NLS-1$
                "encoding", //$NON-NLS-1$
                "path", //$NON-NLS-1$
            },
            new String[] {
                "templates/content/{$framework}/configure/resource/jtaProperties.jet", //$NON-NLS-1$
                "utf-8", //$NON-NLS-1$
                "{$projectName}/resources/jta.properties", //$NON-NLS-1$
            } );
    private static final TagInfo _td_ws_file_14_1 = new TagInfo("ws:file", //$NON-NLS-1$
            14, 1,
            new String[] {
                "template", //$NON-NLS-1$
                "encoding", //$NON-NLS-1$
                "path", //$NON-NLS-1$
            },
            new String[] {
                "templates/content/{$framework}/configure/resource/log4jProperties.jet", //$NON-NLS-1$
                "utf-8", //$NON-NLS-1$
                "{$projectName}/resources/log4j.properties", //$NON-NLS-1$
            } );
    private static final TagInfo _td_ws_file_17_1 = new TagInfo("ws:file", //$NON-NLS-1$
            17, 1,
            new String[] {
                "template", //$NON-NLS-1$
                "encoding", //$NON-NLS-1$
                "path", //$NON-NLS-1$
            },
            new String[] {
                "templates/content/{$framework}/configure/resource/dao-context.jet", //$NON-NLS-1$
                "utf-8", //$NON-NLS-1$
                "{$projectName}/resources/{$projectName}-dao-context.xml", //$NON-NLS-1$
            } );
    private static final TagInfo _td_ws_file_20_1 = new TagInfo("ws:file", //$NON-NLS-1$
            20, 1,
            new String[] {
                "template", //$NON-NLS-1$
                "encoding", //$NON-NLS-1$
                "path", //$NON-NLS-1$
            },
            new String[] {
                "templates/content/{$framework}/configure/resource/dao-property.jet", //$NON-NLS-1$
                "utf-8", //$NON-NLS-1$
                "{$projectName}/resources/{$projectName}-dao.properties", //$NON-NLS-1$
            } );
    private static final TagInfo _td_ws_file_27_1 = new TagInfo("ws:file", //$NON-NLS-1$
            27, 1,
            new String[] {
                "template", //$NON-NLS-1$
                "encoding", //$NON-NLS-1$
                "path", //$NON-NLS-1$
            },
            new String[] {
                "templates/content/{$framework}/configure/resource/service-context.jet", //$NON-NLS-1$
                "utf-8", //$NON-NLS-1$
                "{$projectName}/resources/{$projectName}-service-context.xml", //$NON-NLS-1$
            } );
    private static final TagInfo _td_ws_file_30_1 = new TagInfo("ws:file", //$NON-NLS-1$
            30, 1,
            new String[] {
                "template", //$NON-NLS-1$
                "encoding", //$NON-NLS-1$
                "path", //$NON-NLS-1$
            },
            new String[] {
                "templates/content/{$framework}/configure/resource/controller-context.jet", //$NON-NLS-1$
                "utf-8", //$NON-NLS-1$
                "{$projectName}/resources/{$projectName}-controller-context.xml", //$NON-NLS-1$
            } );
    private static final TagInfo _td_ws_file_33_1 = new TagInfo("ws:file", //$NON-NLS-1$
            33, 1,
            new String[] {
                "template", //$NON-NLS-1$
                "encoding", //$NON-NLS-1$
                "path", //$NON-NLS-1$
            },
            new String[] {
                "templates/content/{$framework}/configure/resource/applicationContext.xml.jet", //$NON-NLS-1$
                "utf-8", //$NON-NLS-1$
                "{$projectName}/src/applicationContext.xml", //$NON-NLS-1$
            } );

    public void generate(final JET2Context context, final JET2Writer __out) {
        JET2Writer out = __out;
        out.write(NL);         
        // 生成hibernate.properties文件 
        RuntimeTagElement _jettag_ws_file_4_1 = context.getTagFactory().createRuntimeTag(_jetns_ws, "file", "ws:file", _td_ws_file_4_1); //$NON-NLS-1$ //$NON-NLS-2$
        _jettag_ws_file_4_1.setRuntimeParent(null);
        _jettag_ws_file_4_1.setTagInfo(_td_ws_file_4_1);
        _jettag_ws_file_4_1.doStart(context, out);
        _jettag_ws_file_4_1.doEnd();
        out.write(NL);         
        out.write(NL);         
        // 生成lproject.properties文件 
        RuntimeTagElement _jettag_ws_file_7_1 = context.getTagFactory().createRuntimeTag(_jetns_ws, "file", "ws:file", _td_ws_file_7_1); //$NON-NLS-1$ //$NON-NLS-2$
        _jettag_ws_file_7_1.setRuntimeParent(null);
        _jettag_ws_file_7_1.setTagInfo(_td_ws_file_7_1);
        _jettag_ws_file_7_1.doStart(context, out);
        _jettag_ws_file_7_1.doEnd();
        out.write(NL);         
        out.write(NL);         
        out.write(NL);         
        // 生成jta.properties文件 
        RuntimeTagElement _jettag_ws_file_11_1 = context.getTagFactory().createRuntimeTag(_jetns_ws, "file", "ws:file", _td_ws_file_11_1); //$NON-NLS-1$ //$NON-NLS-2$
        _jettag_ws_file_11_1.setRuntimeParent(null);
        _jettag_ws_file_11_1.setTagInfo(_td_ws_file_11_1);
        _jettag_ws_file_11_1.doStart(context, out);
        _jettag_ws_file_11_1.doEnd();
        out.write(NL);         
        out.write(NL);         
        // 生成log4j.properties文件 
        RuntimeTagElement _jettag_ws_file_14_1 = context.getTagFactory().createRuntimeTag(_jetns_ws, "file", "ws:file", _td_ws_file_14_1); //$NON-NLS-1$ //$NON-NLS-2$
        _jettag_ws_file_14_1.setRuntimeParent(null);
        _jettag_ws_file_14_1.setTagInfo(_td_ws_file_14_1);
        _jettag_ws_file_14_1.doStart(context, out);
        _jettag_ws_file_14_1.doEnd();
        out.write(NL);         
        out.write(NL);         
        // 生成dao-context.xml文件 
        RuntimeTagElement _jettag_ws_file_17_1 = context.getTagFactory().createRuntimeTag(_jetns_ws, "file", "ws:file", _td_ws_file_17_1); //$NON-NLS-1$ //$NON-NLS-2$
        _jettag_ws_file_17_1.setRuntimeParent(null);
        _jettag_ws_file_17_1.setTagInfo(_td_ws_file_17_1);
        _jettag_ws_file_17_1.doStart(context, out);
        _jettag_ws_file_17_1.doEnd();
        out.write(NL);         
        out.write(NL);         
        // 生成dao.properties文件 
        RuntimeTagElement _jettag_ws_file_20_1 = context.getTagFactory().createRuntimeTag(_jetns_ws, "file", "ws:file", _td_ws_file_20_1); //$NON-NLS-1$ //$NON-NLS-2$
        _jettag_ws_file_20_1.setRuntimeParent(null);
        _jettag_ws_file_20_1.setTagInfo(_td_ws_file_20_1);
        _jettag_ws_file_20_1.doStart(context, out);
        _jettag_ws_file_20_1.doEnd();
        out.write(NL);         
        out.write(NL);         
        // 生成security-context.xml文件, 暂时不需要
        //<ws:file template="templates/content/{$framework}/configure/security-context.jet" encoding="utf-8" path="{$projectName}/resources/{$projectName}-security-context.xml"/>
        // 
        out.write(NL);         
        // 生成service-context.xml文件 
        RuntimeTagElement _jettag_ws_file_27_1 = context.getTagFactory().createRuntimeTag(_jetns_ws, "file", "ws:file", _td_ws_file_27_1); //$NON-NLS-1$ //$NON-NLS-2$
        _jettag_ws_file_27_1.setRuntimeParent(null);
        _jettag_ws_file_27_1.setTagInfo(_td_ws_file_27_1);
        _jettag_ws_file_27_1.doStart(context, out);
        _jettag_ws_file_27_1.doEnd();
        out.write(NL);         
        out.write(NL);         
        // 生成web-context.xml文件 
        RuntimeTagElement _jettag_ws_file_30_1 = context.getTagFactory().createRuntimeTag(_jetns_ws, "file", "ws:file", _td_ws_file_30_1); //$NON-NLS-1$ //$NON-NLS-2$
        _jettag_ws_file_30_1.setRuntimeParent(null);
        _jettag_ws_file_30_1.setTagInfo(_td_ws_file_30_1);
        _jettag_ws_file_30_1.doStart(context, out);
        _jettag_ws_file_30_1.doEnd();
        out.write(NL);         
        out.write(NL);         
        // 生成applicationContext.xml文件  
        out.write(" ");  //$NON-NLS-1$        
        //将encoding="utf-8" path="{$projectName}/src/applicationContext.xml中cmi目录改为src目录
        out.write(NL);         
        RuntimeTagElement _jettag_ws_file_33_1 = context.getTagFactory().createRuntimeTag(_jetns_ws, "file", "ws:file", _td_ws_file_33_1); //$NON-NLS-1$ //$NON-NLS-2$
        _jettag_ws_file_33_1.setRuntimeParent(null);
        _jettag_ws_file_33_1.setTagInfo(_td_ws_file_33_1);
        _jettag_ws_file_33_1.doStart(context, out);
        _jettag_ws_file_33_1.doEnd();
        out.write(NL);         
        out.write(NL);         
        out.write(NL);         
        out.write(NL);         
    }
}
